/*
 * Copyright 2008-2023 dexian.vip. All rights reserved.
 * Support: http://www.dexian.vip
 * License: http://www.dexian.vip/license
 */

package vip.dexian.core.config.redis;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * Redis缓存配置
 *
 * @author 挺好的 2023年05月30日 10:48
 */
@ConfigurationProperties ("cache")
@Component ("redisCacheProperties")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode (callSuper = false)
public class RedisCacheProperties {

    /**
     * 缓存的条目
     */
    private Map <String, Integer> items;
}
